package com.neusoft.service.impl;

import com.neusoft.mapper.AuthorityMapper;
import com.neusoft.model.Authority;
import com.neusoft.service.AuthorityService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author cpx
 * @date 2025/1/13
 * @Description
 */
@Service
public class AuthorityServiceImpl implements AuthorityService {

    @Resource
    private AuthorityMapper authorityMapper;

    @Override
    public List<Authority> getAllAuthority() {
        return authorityMapper.selectList(null);
    }
}
